package com.wpen.unit.infra.mybatis.system.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * NoticeRelPo.
 * 
 * @author Wang Peng(Auto Generator)
 * @date 2023-03-19
 * @version V5.0
 */
@Setter
@Getter
@ToString
@TableName("SYS_NOTICE_REL")
public class NoticeRelPo implements Cloneable, Serializable {
    private static final long serialVersionUID = -161123581321345589L;
    /* ID [19,0] Not NULL */
    @TableId
    private Long id;
    /* 通知表主键 [20,0] Not NULL */
    private Long noticeId;
    /* 通知人员 [16,0] */
    private String noticeUserId;
    /* 已阅读 [1,0] Not NULL */
    private String reading;
    /* 创建时间 [19,0] */
    private Date createTime;
    /* 发送时间 [19,0] */
    private Date sendTime;

    public NoticeRelPo() {
        super();
    }

    /** 浅克隆 */
    @Override
    public NoticeRelPo clone() {
        NoticeRelPo cloneNoticeRelPo = null;
        try {
            cloneNoticeRelPo = (NoticeRelPo) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
        return cloneNoticeRelPo;
    }

    /**
     * NoticeRelColumns.
     * 
     * @author Wang Peng(Auto Generator)
     * @date 2023-03-19
     * @version V5.0
     */
    public enum NoticeRelColumns {
        /** ID**/
        ID,
        /** 通知表主键**/
        NOTICE_ID,
        /** 通知人员**/
        NOTICE_USER_ID,
        /** 已阅读**/
        READING,
        /** 创建时间**/
        CREATE_TIME,
        /** 发送时间**/
        SEND_TIME;
    }
}